package org.example.orders_learn.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.example.orders_learn.entity.Orders;
import org.example.orders_learn.mapper.OrdersMapper;
import org.example.orders_learn.service.OrdersService;
import org.springframework.stereotype.Service;

/**
 * @author wuyunbin
 */
@Service
@Slf4j
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, Orders> implements OrdersService {


    @Override
    public void addOrders(Orders orders) {
        this.save(orders);
    }


}